package com.coldchain.cys.page;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.coldchain.cys.entity.CarDriver;
import com.fangliai.core.entitiy.BaseSearch;

@SuppressWarnings("serial")
public class CarDriverQueryVo extends BaseSearch<CarDriver> {
	private String cid;
	/**
	 * 通用模糊查询
	 */
	private String sarch ;

	public String getCid() {
		return cid;
	}

	public void setCid(String cid) {
		this.cid = cid;
	}

	public String getSarch() {
		return sarch;
	}

	public void setSarch(String sarch) {
		this.sarch = sarch;
	}

	@Override
	public QueryWrapper initWrapper() {
		QueryWrapper queryWrapper=new QueryWrapper();
		queryWrapper.eq("cid",this.getCid());
		return queryWrapper;
	}
}
